﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SDService.Model.DTO
{
    public class RequestBase
    {
        public string Tag { get; set; }
    }

    public class UpdateRequest : RequestBase
    {

    }

    public class SelectRequestBase : RequestBase
    {
        private int index = 0;
        private int count = 10;
        public string Id { get; set; }
        public DateTime? Begin { get; set; }

        public DateTime? End { get; set; }

        public int Index { get => index; set => index = value; }

        public int Count { get => count; set => count = value; }
    }

}
